var header={
	html:'',
	init:function(title){
		this.html="<header class='mui-row lH44 status-bar'><div class='mui-col-xs-3 pL16 back'><img src='../img/icon/left.png'/>"
					+"<p class='dIB cWhite fS15 pL5'>返回</p></div><div class='mui-col-xs-6 tC fS18 cWhite'>"+title+"</div><div class='mui-col-xs-3 tR pR16 search'>"
					+"<img src='../img/icon/head-index.png' /></div></header>";

		var ua = window.navigator.userAgent.toLowerCase(); 
		if(ua.match(/MicroMessenger/i) != 'micromessenger' && ua.match(/MicroMessenger/i) != 'MQQBrowser'){ 
			$('body').prepend(this.html);
			
			$('body .theFirst').addClass('mT44');
			$('body').on('click','.back',function(){
				window.history.go(-1);
			});
			
			
			$('body').on('click','.search',function(){
				app.open('search.html',{},window.location.href,document.body.scrollTop);
			});
		}

	}
}
